import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:user-pen',
      keepAlive: true,
      hideInMenu: false,
      order: 2000,
      title: '客户管理',
    },
    name: 'Customer',
    path: '/customer',
    children: [
      {
        meta: {
          title: '客户信息',
          hideInMenu: false,
          keepAlive: true,
        },
        name: 'CustomerInformation',
        path: '/customer/Information',
        component: () =>
          import(
            '#/views/customerManagement/customerInformation/customerInformation.vue'
          ),
      },
      {
        meta: {
          title: '客户标签导入',
          hideInMenu: false,
          keepAlive: true,
        },
        name: 'customerLabel',
        path: '/customer/customerLabel',
        component: () =>
          import('#/views/customerManagement/customer_label.vue'),
      },
      {
        meta: {
          title: '客户名单维护',
          hideInMenu: false,
          keepAlive: true,
        },
        name: 'listMaintenance',
        path: '/customer/listMaintenance',
        component: () =>
          import('#/views/customerManagement/listMaintenance.vue'),
      },
      {
        meta:{
          title:'客户资源迁移',
          hideInMenu: false,
          keepAlive: true,
        },
        name: 'customerResourceMigration',
        path: '/customer/customerResourceMigration',
        component: () =>
          import('#/views/customerManagement/customerResourceMigration.vue'),
      }
    ],
  },
];

export default routes;
